<%@page import="itsm.isperp.framework.core.context.ContextHolder"%><%@ page
	language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
  String path = request.getContextPath();
  String basePath = ContextHolder.getWebServerName(request);
%>
<link href="<%=path%>/wechat/resources/css/common.css" rel="stylesheet" />
<link href="<%=path%>/wechat/resources/css/index.css" rel="stylesheet" />
<div id="view">
	<div group>
		<div group-item onclick="toPage(1)">
			<div center>
				<img src="<%=path%>/wechat/resources/image/index/backlog.png" />
			</div>

			<div>
				<div>我要报单</div>
				<div>申报事件单</div>
			</div>
			<div center>
				<div arrow-right></div>
			</div>
		</div>
	</div>

	<div group>
		<div group-item onclick="toPage(2)">
			<div center>
				<img src="<%=path%>/wechat/resources/image/index/requestPool.png" />
			</div>
			<div>
				<div>我的事件单</div>
				<div>跟踪历史事件单</div>
			</div>
			<div center>
				<div arrow-right></div>
			</div>
		</div>
		
	</div>
</div>
<script type="text/javascript">
function toPage(v)
{
   if(v=="1")
   {
     window.location.href="<%=path%>/api/wechat/incident/newIncident?openid=${openid}";
   }else if(v=="2")
   {
     window.location.href="<%=path%>/api/wechat/incident/myIncident?openid=${openid}";
   }
}
</script>


